package com.aisb.core;

import org.apache.shiro.SecurityUtils;
import org.springframework.stereotype.Controller;

@Controller
public class BaseService {
    public SessionBean sessionBean;

    public void getSessionBean() {
        sessionBean = (SessionBean) SecurityUtils.getSubject().getPrincipal();
    }
}
